<header style="background-color: rgba(5, 38, 88, 0.849);">
  <figure class="profile-banner">
    <!--<img src="/assets/images/system/banner.jpg" alt="Profile banner" />-->
  </figure>
  <figure class="profile-picture">
    <img class="headshot" [src]="src" />
      <div class="human-photo-fileUpload" style="    position: absolute; top: 5px; left: 5px; height: 130px; width: 130px;">
      <p-fileUpload #file mode="basic" name="file" customUpload="true" (uploadHandler)="onFileUpload($event, file)"
                    maxFileSize="1000000" chooseLabel="请选择您的照片" auto="true"></p-fileUpload></div>
  </figure>
  <div class="profile-stats">
  </div>
</header>

<div class="ui-g ui-g-12">
  <form [formGroup]="profileForm">
    <input type="hidden" formControlName="humanId" />
    <input type="hidden" formControlName="password" />
    <input type="hidden" formControlName="passwordConfirm" />
    <div class="ui-g-12">
      <div class="ui-g-6 ui-g ui-fluid">
        <div class="ui-g-3 form-control-label">姓名</div>
        <div class="ui-g-6">
          <input pInputText type="text" formControlName="humanName" pTooltip="{{ formErrors.humanName }}"
            tooltipPosition="bottom" />
        </div>
      </div>
      <div class="ui-g-6 ui-g ui-fluid">
        <div class="ui-g-3 form-control-label">证件号码</div>
        <div class="ui-g-6">
          <input pInputText type="text" formControlName="identityNum" pTooltip="{{ formErrors.identityNum }}"
            tooltipPosition="bottom" />
        </div>
      </div>
      <div class="ui-g-6 ui-g ui-fluid">
        <div class="ui-g-3 form-control-label">性别</div>
        <div class="ui-g-6">
          <div class="ui-g-3">
            <p-radioButton name="gender" value="01" label="男" formControlName="gender"></p-radioButton>
          </div>
          <div class="ui-g-3">
            <p-radioButton name="gender" value="02" label="女" formControlName="gender"></p-radioButton>
          </div>
        </div>
      </div>
      <div class="ui-g-6 ui-g ui-fluid">
        <div class="ui-g-3 form-control-label">出生日期</div>
        <div class="ui-g-6">
          <p-calendar formControlName="birthday" dateFormat="yy-mm-dd" [locale]="zh" [showIcon]="true"
            [monthNavigator]="true" [yearNavigator]="true" yearRange="1950:2020" qkUtc></p-calendar>
        </div>
      </div>
      <div class="ui-g-6 ui-g ui-fluid">
        <div class="ui-g-3 form-control-label">联系电话</div>
        <div class="ui-g-6">
          <input formControlName="telephone" pInputText type="text" />
        </div>
      </div>
      <div class="ui-g-6 ui-g ui-fluid">
        <div class="ui-g-3 form-control-label">所属机构</div>
        <div class="ui-g-6">
          <input formControlName="unitName" pInputText type="text" readonly="readonly" />
        </div>
      </div>
      <!--<div class="ui-g-6 ui-g ui-fluid">-->
        <!--<div class="ui-g-3 form-control-label">密码修改</div>-->
        <!--<div class="ui-g-6">-->
          <!--<input formControlName="password" type="password" pPassword promptLabel="请填写密码" weakLabel="弱" mediumLabel="中等"-->
                 <!--strongLabel="强" />-->
        <!--</div>-->
      <!--</div>-->
      <div class="ui-g-6 ui-g ui-fluid">
        <div class="ui-g-3 form-control-label">执法证号</div>
        <div class="ui-g-6 form-control-label">
            <input formControlName="lawCardNum" pInputText type="text" />
        </div>
      </div>
      <!--<div class="ui-g-6 ui-g ui-fluid">-->
        <!--<div class="ui-g-3 form-control-label">密码确认</div>-->
        <!--<div class="ui-g-6">-->
            <!--<input formControlName="passwordConfirm" type="password" pPassword promptLabel="请再次填写密码" weakLabel="弱"-->
                   <!--mediumLabel="中等" strongLabel="强" />-->
        <!--</div>-->
      <!--</div>-->
      <!--<div class="ui-g-6 ui-g ui-fluid">-->
          <!--<div class="ui-g-3 form-control-label">照片</div>-->
          <!--<div class="ui-g-6">-->
          <!--</div>-->
      <!--</div>-->
    </div>
    <div class="ui-g-12 buttom-item">
      <button pButton type="button" label="取消" class="ui-button-info" icon="fa fa-close" (click)="close()"></button>
      <button pButton type="button" label="保存" class="ui-button-success" icon="fa fa-save" (click)="save()"></button>
    </div>
  </form>
</div>
